/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package projetofinal;

import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import javax.swing.plaf.metal.DefaultMetalTheme;
import javax.swing.plaf.metal.MetalLookAndFeel;

/**
 *
 * @author Aluno
 */
public class ProjetoFinal {

    /**
     * @param args the command line arguments
     */
    
    public static void main(String[] args) {
        initComponents();
    }

    private static void initComponents() {
        
        try {
            UIManager.setLookAndFeel("javax.swing.plaf.nimbus.NimbusLookAndFeel");
            MetalLookAndFeel.setCurrentTheme(new DefaultMetalTheme());
        } catch (ClassNotFoundException ex) {
            Logger.getLogger(ProjetoFinal.class.getName()).log(Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            Logger.getLogger(ProjetoFinal.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            Logger.getLogger(ProjetoFinal.class.getName()).log(Level.SEVERE, null, ex);
        } catch (UnsupportedLookAndFeelException ex) {
            Logger.getLogger(ProjetoFinal.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        MainFrame meuFrame = new MainFrame();
        
    }
    
}
